This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Nita Fezkrochekoopsi 26.Nov.03 07:39 PM a Web browser Notes Client6.0.1Windows 2000
My first questions is can we compose new document from dialog box, how?
Second questions..
I have a Embedded view in a form A. which keeps the docs of form B and I am trying to edit selected doc in embedded view by clicking a edit button from form A. It is opening a blank form in dialog box instead of selected doc in dialog box, i tested this code from view action button its working fine..
Am i doing something wrong, any ideas?
Dim session As New notessession
Dim collection As NotesDocumentCollection
Dim db As notesdatabase
Dim currdoc As NotesDocument
Dim uidoc As NotesUIDocument
Dim workspace As New NotesUIWorkspace
Set uidoc = workspace.CurrentDocument
Set db = session.CurrentDatabase
Set collection = db2.UnprocessedDocuments
For i = 1 To collection.Count
Set currdoc = collection.GetNthDocument( i )
If i = 1 Then
dialog = workspace.DialogBox ("Person", True, True, False, False, False, False, "Edit Person", currdoc)
Call currdoc.save(True,True)
If dialog="" Then Exit Sub
End If
Next